<?php
/**
 * Created by PhpStorm.
 * Login: Administrator
 * Date: 2017-11-14
 * Time: 13:25
 */

namespace app\index\model;

use think\Db;
use phpmailer\phpmailer;
use think\Model;

class User extends Model
{
    public function admin_adminadd_role()
    {
        //获取添加管理员页面的角色数据
        $role = Db::table('oa_role')->select();
        return $role;
    }

}